package com.vincce.sport.mapper;
import java.util.List;
import java.util.Map;

import com.vincce.sport.core.MyBatisRepository;
import com.vincce.sport.entity.HitRateApi;
import com.vincce.sport.entity.ScoreApi;
import com.vincce.sport.entity.TeamBackBoardData;
import com.vincce.sport.entity.TeamDataTask;
@MyBatisRepository
public interface TeamDataTaskMapper {
	public List<TeamDataTask > queryByTeamDataTaskList();
	public void insertTeamDataTask(TeamDataTask dataTask);
	public void truncateTeamDataTask();
	
	
	public TeamDataTask queryTeamAverageScoreRanking(Map<String, Object> map);
	public TeamDataTask queryTeamAverageBackboardRanking(Map<String, Object> map);
	public TeamDataTask queryTeamAverageAssistsAstsRanking(Map<String, Object> map);
	public TeamDataTask queryTeamAverageHitRateRanking(Map<String, Object> map);
	
	public void deleteBySeasonId(Integer id);
	public List<TeamDataTask> queryTeamDataBySchoolId(Map<String, Object> map);
	
	/**
	 * 查询球队的场均得分接口
	 * @param map
	 * @return
	 */
	public List<ScoreApi> queryTeamScoreApi(Map<String, Object> map);
	
	/**
	 * 查询球队的场均命中率接口
	 * @param map
	 * @return
	 */
	public List<HitRateApi> queryTeamHitRateApi(Map<String, Object> map);

	public List<TeamBackBoardData> queryTeamAverageBackboardRankingContantsName(
			Map<String, Object> map);
}
